<template>
    <div class="login-bg">
        <img class="login-logo" src="../../static/img/logo.png" alt="logo">
        <img class="logo-text" src="../../static/img/logo-text.png" alt="logoText">
        <div class="login-btn">访问官网</div>
        <div class="login-cont">
            <ul>
                <li class="title">企业用户登录</li>
                <li class="width221">
                    <i class="iconfont icon-icon-"></i>
                    <input class="login-ipt" v-model="user" type="text" placeholder="请输入用户名">
                </li>
                <li class="width221">
                    <i class="iconfont icon-mima"></i>
                    <input class="login-ipt" v-model="psd" type="password" placeholder="请输入密码">
                </li>
                <li class="width221 reg">
                    <i class="iconfont icon-zhucedengluyanzhengma"></i>
                    <input class="login-ipt reg" v-model="reg" type="text" placeholder="验证码">
                </li>
                <li class="width100">n768</li>
            </ul>
            <router-link class="login-go" to="/index">登录</router-link>
        </div>
        <p class="copyright">履带吊资源共享网 版权所有</p>
    </div>
</template>

<script>
export default {
    name: 'login',
    data(){
        return{
            user: '',
            psd: '',
            reg: ''
        }
    }
}
</script>

<style scoped>
.width100{
    width: 100px;
    background: #F0F0F0;
}
.width221{
    width: 220px;
    box-sizing: border-box;
}
.width221.reg{
    width: 145px;
}
.login-ipt{
    width: 170px;
    font-size: 16px;
    color: #6A6A6A;
}
.login-ipt.reg{
    width: 90px;
}
.iconfont{
    font-size: 20px;
    color: #6A6A6A;
}
.login-bg{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: url("../../static/img/logo-bg.jpg") no-repeat center center;
    background-size: 100% 100%;
}
.login-logo{
    margin: 5% 0 40px 0;
}
.login-btn{
    width: 222px;
    height: 58px;
    background: #FEE101;
    color: #000;
    font-size: 20px;
    text-align: center;
    line-height: 58px;
    cursor: pointer;
    border-radius: 5px;
    margin: 20px 0 50px 0;
}
.copyright{
    color: #fff;
    font-size: 16px;
    margin-bottom: 30px;
    margin-top: 80px;
}
.login-cont{
    /* max-width: 1012px; */
    position: relative;
    padding: 32px 32px 25px 32px;
    background: #fff;
    border-radius: 5px;
    box-shadow:1px 0px 0px rgba(139,190,145,0.35);
}
.login-go{
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #6FD150;
    color: #fff;
    font-size: 16px;
    position: absolute;
    top: 50%;
    right: -25px;
    margin-top: -25px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px #6FD150;
}
.logo-text{
    width: 40%;
}
.login-cont ul li{
    float: left;
    margin-right: 12px;
    border: 1px solid #CACACA;
    border-radius: 5px;
    padding: 6px 10px;
    box-sizing: border-box;
}
.title{
    width: 165px;
    font-size: 18px;
    padding-bottom: 8px;
    color: #666666;
    border: 0 !important;
    border-bottom: 2px solid #FFC600 !important;
    border-radius: 0 !important;
    font-weight: bold;
}
</style>


